package com.optiktv.web.jpa.bean;

import javax.persistence.Column; 
import javax.persistence.Entity; 
import javax.persistence.GeneratedValue; 
import javax.persistence.Id; 
import javax.persistence.Table;

import java.math.BigDecimal;
import java.util.Date;
import java.util.concurrent.atomic.AtomicLong;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.NumberFormat;
import org.springframework.format.annotation.NumberFormat.Style;


@Entity 
@Table (name = "CSAT_DATA")
public class CSAT {
	
	@Id    
	@Column(name="SURVEYDATE")     
	//@GeneratedValue
	private Long surveydate;
	
	@Column(name="ORDERNUM")
	private Long ordernum;
	
	@Column(name="QUESTIONID")
	private Integer questionid;
	
	@Column(name="SURVEYID")
	private Long surveyid;
	
	@Column(name="RESULTS")
	private String result;
	
	//ORDERNUM
	public Long getOrdernum() {         
		return ordernum;     
	}     
	public void setOrdernum(Long ordernum) {         
		this.ordernum = ordernum;     
	}
	//SURVERYDATE
	public Date getSurveydate() {
		return new Date(surveydate);     
	}     
	public void setSurveydate(Long surveydate) {         
		this.surveydate = surveydate;     
	}
	//QUESTIONID
	public Integer getQuestionid() {
		return questionid;     
	}     
	public void setQuestionid(Integer questionid) {         
		this.questionid = questionid;     
	}
	//SURVERYID
	public Long getSurveyid() {         
		return surveyid;     
	}     
	public void setSurveyid(Long surveyid) {         
		this.surveyid = surveyid;     
	}     
	//RESULT
	public String getResult() {         
		return result;     
	}     
	public void setResult(String result) {         
		this.result = result;     
	}
	
	
}